<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\ConfigApp
 *
 * @property int $id
 * @property string|null $name name of mobile app
 * @property string|null $logo
 * @property string|null $bg_image
 * @property string|null $ios_url
 * @property string|null $android_url
 * @property int|null $downloads_android how many times downloading android app
 * @property int|null $downloads_ios how many times downloading ios app
 * @property string|null $version
 * @method static \Database\Factories\ConfigAppFactory factory(...$parameters)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp query()
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereAndroidUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereBgImage($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereDownloadsAndroid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereDownloadsIos($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereIosUrl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereLogo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereVersion($value)
 * @mixin \Eloquent
 * @property bool $is_ios_on
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereIsIosOn($value)
 * @property string|null $pending_ios_version
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp wherePendingIosVersion($value)
 * @property string|null $version_ios
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereVersionIos($value)
 * @property string|null $mini_appid
 * @property string|null $mini_pay_mark
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereMiniAppid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|ConfigApp whereMiniPayMark($value)
 */
class ConfigApp extends Model
{
    use HasFactory;
	
	protected $guarded = ['id'];
	
	public $timestamps = false;
	
	protected $casts = [
		'is_ios_on' => 'boolean'
	];
}
